package org.jeecg.modules.assets.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 设备申领单管理
 * @Author: jeecg-boot
 * @Date:   2024-11-09
 * @Version: V1.0
 */
@Data
@TableName("assets_apply_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="assets_apply_item对象", description="设备申领单管理")
public class AssetsApplyItem {

	/**id*/
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**资产编码*/
	//@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
	private java.lang.String assetCoding;

	/**
	 * 设备编码
	 */

	/**资产名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
	private java.lang.String assetName;
	@Excel(name = "设备编码", width = 15)
	@ApiModelProperty("设备编码")
	private String deviceCode;

	@ApiModelProperty(value = "设备总数")
	//@Excel(name = "设备总数", width = 15)
	private java.lang.Integer totalNum;

	//@Excel(name = "仓库可用数量", width = 15)
	@ApiModelProperty(value = "可用数量")
	//@Excel(name = "可用数量", width = 15)
	private java.lang.Integer storeUseNum;

	/**规格型号*/
	//@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
	private java.lang.String spec;
	/**类别*/
	////@Excel(name = "类别", width = 15)
    @ApiModelProperty(value = "设备分类")
	//@Excel(name = "设备分类", width = 15)
	private java.lang.Integer category;

	@ApiModelProperty(value = "借用单位")
	@Excel(name = "借用单位", width = 15)
	private java.lang.String deptName;

	@Excel(name = "借用去向", width = 15)
	@ApiModelProperty(value = "借用去向")
	private java.lang.String remark;

	@ApiModelProperty("申领人")
	@Excel(name = "申领人", width = 15)
	private String lender;

	/**申领日期*/
	@Excel(name = "申领日期", width = 15,format = "yyyy-MM-dd")
	@ApiModelProperty(value = "申领日期")

	private java.lang.String applyDate;
	/**所属公司*/
	//@Excel(name = "所属公司", width = 15)
    @ApiModelProperty(value = "所属公司")
	private java.lang.String company;
	/**所属部门*/
	//@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
	private java.lang.String dept;
	/**所属人*/
	//@Excel(name = "所属人", width = 15)
    @ApiModelProperty(value = "所属人")
	private java.lang.String owner;
	/**使用人*/
	//@Excel(name = "使用人", width = 15)
    @ApiModelProperty(value = "使用人")
	private java.lang.String userer;
	/**使用年限*/
	//@Excel(name = "使用年限", width = 15)
    @ApiModelProperty(value = "使用年限")
	private java.lang.String useTime;
	/**原值*/
	//@Excel(name = "原值", width = 15)
    @ApiModelProperty(value = "原值")
	private java.lang.String original;
	/**净值*/
	//@Excel(name = "净值", width = 15)
    @ApiModelProperty(value = "净值")
	private java.lang.String netWorth;
	/**设备状态*/
	//@Excel(name = "设备状态", width = 15)
    @ApiModelProperty(value = "领用单状态，1领用中，2已归还")
	private java.lang.String status;

	//@Excel(name = "领用状态", width = 15)
	@ApiModelProperty(value = "领用单状态，1领用中，2领用结束")
	private java.lang.String applyStatus;
	/**url*/
	//@Excel(name = "url", width = 15)
    @ApiModelProperty(value = "url")
	private java.lang.String url;
	/**所属部门名称*/
	//@Excel(name = "所属部门名称", width = 15)

	/**createTime*/
	//@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private java.util.Date createTime;
	/**updateTime*/
	//@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private java.util.Date updateTime;
	/**简单部门名称*/
	//@Excel(name = "简单部门名称", width = 15)
    @ApiModelProperty(value = "简单部门名称")
	private java.lang.String simpleDeptName;
	/**盘点方式，1扫码，2直盘*/
	//@Excel(name = "盘点方式，1扫码，2直盘", width = 15)
    @ApiModelProperty(value = "盘点方式，1扫码，2直盘")
	private java.lang.Integer inventoryType;
	/**计划使用年*/
	//@Excel(name = "计划使用年", width = 15)
    @ApiModelProperty(value = "计划使用年")
	private java.lang.String planUserYear;
	/**计划使用月*/
	//@Excel(name = "计划使用月", width = 15)
    @ApiModelProperty(value = "计划使用月")
	private java.lang.String planUserMonth;
	/**资产地址*/
	//@Excel(name = "资产地址", width = 15)
    @ApiModelProperty(value = "资产地址")
	private java.lang.String assetsLocation;
	/**租户id*/
	//@Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
	private java.lang.Integer tenantId;
	/**类别名称*/

	/**类别名称*/
	//@Excel(name = "类别名称", width = 15)
    @ApiModelProperty(value = "类别名称")
	private java.lang.String categoryName;
	/**设备总数*/
	//@Excel(name = "设备总数", width = 15)

	/**仓库数量*/
	//@Excel(name = "仓库数量", width = 15)
    @ApiModelProperty(value = "仓库数量")
	private java.lang.Integer storeNum;
	/**仓库可用数量*/

	/**备注*/

	/**领用者*/
	//@Excel(name = "领用者", width = 15)
    @ApiModelProperty(value = "领用者")
	private java.lang.String applyUser;


	@ApiModelProperty(value = "领用者Id")
	private java.lang.String applyUserId;

	//资产iD
	//@Excel(name = "资产iD", width = 15)
	@ApiModelProperty(value = "资产iD")
	private java.lang.Integer assetsId;

	/**
	 * 开始时间
	 */
	@ApiModelProperty(value = "开始时间")
	@TableField(exist = false)
	private String startTime;
	/**
	 * 结束时间
	 *
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "结束时间")
	private String endTime;


	// @Excel(name = "资产编组", width = 15)
	@ApiModelProperty(value = "资产编组")
	@TableField("`group`")
	private String group;


	@ApiModelProperty(value = "借用部门id")
	@TableField
	private Integer deptId;



}
